import config from 'config';
import httpFetch from 'share/httpFetch';
import errorMessage from 'share/errorMessage';
export default {
  //获取已经发布的更新日志列表
  getUpdateLogList(params) {
    return httpFetch.unsafe.get(`${config.baseUrl}/api/operation/changelog/publish/list`, params)
      .catch(err => {
        errorMessage(err.response);
        throw err;
      })
  },
}
